yes, in MN we always say, "1 to buy, 2 to sell". That means a spouse can buy a property, but if they're still legally married when it's purchased, when the property sells, they both have to agree. That's because they both have a financial interest in it because MN is a community property state.
Usually, when people are getting divorced and they're each buying another property, they each agree, as part of the divorce, to sign a quit claim deed to the other's property, which would terminate any spousal interest in the property.
HOWEVER, I'm not an attorney!!! It would be best to seek legal advice as there are always changes and exceptions in the law.