Not without your consent if you are legally married or on title to the property.
Legally married spouses have an equal right to stay in a matrimonial home. Your spouse has to agree to sell, rent, or mortgage a home you own or lease and both lived in, even if only one spouse is on title to the property. You can, however, request exclusive possession to a matrimonial home by applying to Ontario family court.
Unlike legally married spouses, common law partners have no property rights unless they are joint tenants. That means both spouses are on title to a property, and must consent to sell, rent, or mortgage it.
A common law spouse may consent to sell a family home they alone own, and give you a financial share as a settlement. Otherwise, if you contributed to the house’s value during your relationship by maintaining the home or raising children, you might get a share of the home’s sale by claiming your spouse was unjustly enriched by your contributions.