This took place in California, a community property state. Taxpayer and spouse were divorced, and spouse transferred his ownership interest in the house to Taxpayer.
Taxpayer sold the house "Separated or divorced taxpayers.
"If you were separated or divorced prior to the sale of the home, you can treat the home as your residence if: *You are a sole or joint owner, and *Your spouse or former spouse is allowed to live in the home under a divorce or separation agreement and uses the home as his or her main home."
Should that "and" in the first bullet be an "or"? Surely it's highly unusual for a former spouse still to be allowed to live in the house after a divorce.
The following paragraph in the pub is:
"If your home was transferred to you by a spouse or ex-spouse (whether in connection with a divorce or not), you can count any time when your spouse owned the home as time when you owned it. However, you must meet the residence requirement on your own."
That seems to match Taxpayer's situation, since she had lived in the house continuously for 20 years and they, or she, owned it continuously for the same period. But I just wanted to make sure, because those two paragraphs don't seem to agree with each other completely.