Depreciation on a short term primary residence converstion

I entered into a short term rent to own agreement on my primary home in June 2020 that will be sold in April 2021. We have received rent and will allocate expenses accordingly given personal use percentage in 2020. Is it necessary to take depreciation for the 6 months in 2020 and the 3 months in 2021 and recapturing in 2021 since the primary residence rent to own conversion was less than one year?