Does purchasing a new heat pump for your house qualify as emergency personal use and a tax break for early withdrawal of retirement?

Our air conditioner/heat pump went out in the middle of summer last year and we had to make an early withdrawal from retirement to buy a new unit. The temperatures at the time made living conditions too uncomfortable to keep our children in without being able to stay cool.