How do I recognize separate residences for a married couple when one is residing in a nursing home?

I'm preparing my parents tax return. They are still married but my mother moved to a nursing home this year. How do I recognize separate addresses, so I can claim my mother's nursing home expenses?