Yes, you can use some of the money to buy a home and use the rest for your retirement once you turn 60.