lose of residence

Stressed sister asked...

My mom is currently in a nursing facility...private...money running out quickly. My sister who lives with mom now has to move so we can sell the house. Should we let her continue to live there and apply for Medicaid? We will have to sell sooner or later. How long do we have when mom dies to sell the house to reply Medicaid?