Depreciation recapture - selling main residence after a period of rental

Please help: We had lived in our main home 5+ years until late 2019. Then we moved to a different state and rented out the original home out for 15 months. The tenants moved out by end of May 2021 and the home was sold by end of October 2021. My question is, how do I count the period after the tenants moved out? Should I count it as rental or something else? Also, when the TurboTax Home and Business does the depreciation recapture, it asks about Depreciation after May 6, 1997. Should I enter depreciation we've taken in previous years and assume TurboTax will take care of the depreciation for 2021 year automatically or should I include the depreciation for 2021 as well? Thanks for your help!