how long do you have to be married to get a permanent green card?
You must be physically present in Canada for at least 1,095 days during the five years right before the date you applied. This includes time as a: permanent resident (PR)