Home loans

Oh ok.   So it's not a 401K.   Yes you can avoid the penalty on up to 10,000 max.   

see about IRA distributions

https://www.irs.gov/pub/irs-pdf/p590b.pdf