I suggest
this website. It's the only decent Canadian immigration forum around.
What others have said is basically true. The residency requirement is 730 days out of five years with exceptions for those who were abroad with Canadian citizen spouses, working for Canadian companies, etc. See section 28 of the Act for the exceptions.
恭喜發財