When your spouse is outside Canada, you should submit under the Family Class (outland) category. Your spouse can come to the country on a temporary permit while the sponsorship form is being sponsored.
You can sponsor your spouse or partner even if they are living in Canada, provided you are holding a valid immigration status or have submitted for an open work permit to work in Canada while the permit is being processed.