Home purchase and IRA

I am near retirement and purchasing my retirement home.  My existing home has not yet sold.  Is it a reasonable idea to take an IRA/401k withdrawal to pay for part of the new home?