No, getting married to a Canadian does not provide the spouse automatic permanent residence in Canada. You can apply for a spousal sponsorship once you are married or in a common-law union. The married spouse won't become a permanent resident of Canada until the spousal sponsorship application is granted.