That protection exists specifically to prevent one spouse from disposing of the family residence without the other's knowledge, and a lawyer handling the transaction through Information Services Corporation will confirm that consent is in place before closing.
If the couple is separating, The Family Property Act governs how the home is divided, and a court order can sometimes substitute for consent when one spouse is unreachable or unreasonably withholding it.
A lawyer, not a REALTOR®, is the right first call to sort out consent before a listing goes anywhere. Get your hand-reviewed valuation from Joel Dyck.