2 Replies 2
(7)Determination of use during periods of out-of-residence care
In the case of a taxpayer who—
(A) becomes physically or mentally incapable of self-care, and
(B) owns property and uses such property as the taxpayer’s principal residence during the 5-year period described in subsection (a) for periods aggregating at least 1 year,
then the taxpayer shall be treated as using such property as the taxpayer’s principal residence during any time during such 5-year period in which the taxpayer owns the property and resides in any facility (including a nursing home) licensed by a State or political subdivision to care for an individual in the taxpayer’s condition.
IRS Pub 523 page 3
If you become physically or mentally unable to care for yourself, and you use the residence as your principal residence for 12 months in the 5 years preceding the sale or exchange, any time you spent living in a care facility (such as a nursing home) counts toward your 2-year residence requirement, so long as the facility has a license from a state or other political entity to care for people with your condition.