Your husband will be purchasing a property. The loan for this property would be deductible if the property is being used to generate income so timing of moving out should not matter.
eg. if you bought a house for $500,000 with a $500,000 interest only loan and then moved out of it to rent it...