What is "retired from use date" for a rental property? My property was a rental from Jan-Oct 2022 but my tenant was not paying rent. I listed the property for sale after

What is "retired from use date" for a rental property? My property was a rental from Jan-Oct 2022 but my tenant was not paying rent. My tenant damaged the property so I had to remodeled the property from Oct-Nov 2022 and listed it for sale. The property was sold in beginning of 2023. May I expense property tax, insurance, depreciation, utilities and mortgage interest for full year of 2022?  Also may I expense remodeling cost?