You must be a permanent resident of Canada, regardless of your age, to qualify for Canadian citizenship. This means you're not being investigated for immigration or fraud, aren't on the verge of deportation, and have unmet criteria associated with your permanent resident status (if one has not completed medical screening).
To read more: https://www.pa-ic.com/uncategorized/how-to-apply-for-canadian-citizenship/