Rental Property Sale - Partial Exclusion of Gain

Turbotax is not clear in how it asks the question and I am unsure of what to answer. They ask for the reason the rental property was sold, and I can click health reasons, I had health issues that caused us to move states and decide to sell the rental property. However, it is unclear if we had to live in the property at the time of sale to qualify for a partial exclusion of gain.