The residence obligation is 3 years physical residence in Canada within any 5 year period. But you can check with CIC.