If you live in Canada with a Permanent Resident (PR) Visa, there are certain requirements in order to maintain your PR status.
You can certainly leave Canada as long as you live in Canada for at least two years over the course of five years.
However, these two years do not need to be a one time period, but can be broken up into weeks, months, or years. For example, you can go on vacation with your family for several weeks or months, or travel on business as needed.
The only requirement is that you are physically present in Canada for the equivalent of at least two years over a five-year period of time. Call the professionals at BecomeACanadian to get your questions answered!