If i dispose of rental property in 2016. Will I be able to claim it as a loss when it is sold in 2017?

The property was rented for one month and has been off the rental market but for sale for 11 months in 2016.  If I sell the property at a loss in 2017 will I still be able to claim it as a loss and claim unallowable prior year losses?