Neither is correct. The depreciation calculation starts with the owner's tax basis in the property. If the property was purchased, the basis will be the purchase price including costs to purchase plus improvements. If the property was converted from personal use, the depreciable basis is the lesser of the basis or the fair market value of the property. Then you reduce the basis by the land value. You can't depreciate the unit the owner occupies.