On the CIC website it says that:
"Your permanent resident status allows you to live in Canada, but there is also a time limit on how long you can live outside the country. To keep your status as a permanent resident, you must live in Canada for at least two years within a five-year period."...