Don’t know if this is so, but I heard even if you have a living trust, if the husband or wife is headed to a nursing home, that spouse should do a quit claim on their grant deed, allowing the other spouse to protect the home from a lien when that spouse passes on for 1/2 the value of the home, or up to the medical expenses incurred.
A transfer to, say, children at least 5 years before the second spouse vacates the home might protect the property, but it exposes the home to creditors of the children.
The fact is that Medicaid is public welfare and the government has an obligation to recover costs from the beneficiaries of that welfare before sticking taxpayers generally with the tab.