You can get married until her divorce is finalized. If you get married before her divorce is finalized, Canada will not recognize your marriage.
If you have lived together continuously for at least one year and have evidence to prove it, you can sponsor her for PR as your common law partner...