home sale

I sold my home in Nov'20. I purchased it sometime in 2007 for $440,000 and sold it for $600,000. This was my primary residence and lived there for all the time I had owned it. I also rented part of my home not long after acquiring it. During 2020 I have no rental income at all. Would I be able to qualify for the 2/5 yr exception and $250,000 gain exemption? Do I have to include the depreciation taken from previous years?