Because the rental property was reported on a joint return originally, and your spouse kept it, you should be able to simply delete the rental from your return. You shouldn't have to report this as a sale and take a loss or a gain because one of the original owners (your spouse) is continuing the rental.