To apply for Canadian Citizenship, you must be a Permanent Resident and have lived in Canada for at least 1095 days in the past 5 years right before your application. 

You will also need to prove your English/French skills and your knowledge about the country.