Residential energy credit - We sold our house in 2016 that we had previously used an energy credit. We bought another house in 2016 and replaced the roof. Can we claim

the energy credit on the current return since it is a different house?