Whenever a building, exempted as a homestead, is insured in favor of the person entitled to the exemption, and a loss occurs, entitling such person to the insurance, such insurance money shall be exempt to the same extent as the building would have been had it not been destroyed.
735 ILCS 5/12-907