Investors & landlords

Thanks for your reply! Just to confirm, the remaining time in 2021 that we owned the main home as personal use is not counted as "non-qualified use," just as the rental period is not counted as "non-qualified use" for our case (used and owned main home for more than 2 out of last 5 years before moving to a different state and renting out the home). Is my understanding correct?