Rental property fire occurred July 2016

Received insurance proceeds approx 625000 in 2016

Purchase price 174,000. Contents 50k.

Depreciation around 50k

Property was sold in 2017 for about 150k

Can I defer the gain until the sale in 2017?