Yes. The reason is that land is not depreciated. So, for example, your sale price was $400,000 with 25% of that going to land. You would divide sales expenses 75% for the building and 25% for the land. The depreciation will count only on the building.
**Mark the post that answers your question by clicking on "Mark as Best Answer"
Assuming the property was 100% rental, and not a case where you rented out a part of your residence, both the structure and the land are business assets. You do need to split your sales price between the two, since the structure is a depreciated asset, and the land is not. Here's the basic guidance on doing this.
Reporting the Sale of Rental Property
If you qualify for the "lived in 2 of last 5 years" capital gains exclusion, then when prompted you WILL indicate that this sale DOES INCLUDE the sale of your main home. For AD MIL personnel who don't qualify because of PCS orders, select this option anyway, because you "MIGHT" qualify for at last a partial exclusion.
Start working through Rental & Royalty Income (SCH E) "AS IF" you did not sell the property. One of the screens near the start will have a selection on it for "I sold or otherwise disposed of this property in 2019". Select it. After you select the "I sold or otherwise disposed of this property in 2019" you continue working it through "as if" you still own it. When you come to the summary screen you will enter all of your rental income and expenses, even it it's zero. Then you MUST work through the "Sale of Assets/Depreciation" section. You must work through each individual asset one at a time to report its disposition (in your case, all your rental assets were sold).
Understand that if more than the property itself is listed in your assets list, then you need to allocate your sales price across all of your assets. You will only allocate the structure sales price; you will NOT allocate the land sales price, since the land is not a depreciable asset. Then if you sold this rental at a gain, you must show a gain on all assets, even if that gain is $1. Likewise, if you sold at a loss then you must show a loss on all assets, even if that loss is $1
Basically, when working through an asset you select the option for "I stopped using this asset in 2019" and go from there. Note that you MUST do this for EACH AND EVERY asset listed.
When you finish working through everything listed in the assets section, if you ever at any time you owned this rental you claimed vehicle expenses, then you must also work through the vehicle section and show the disposition of the vehicle. Most likely, your vehicle disposition will be "removed for personal use", as I seriously doubt you sold your vehicle as a part of this rental sale.