Consequences of Getting a Divorce - Leave Country?

Hello, I just have a simple question.
If I get divorce within the first 2 years of my marriage do I lose my PR status? When I landed the border official told me that i had to live at least 2 years in the same place to keep my PR status. Do I have to leave everything and go back to my country? Is there any posibility of avoiding that if that’s the case?
Thank you.

Hi

  1. No, the two year co-habitation rule was cancelled in June.
  2. The only hiccup might be if the sponsor reports to CBSA that it was a marriage of convenience. i.e. you married the sponsor just to get status in Canada.