Quoted from PanzerFreak:Yup. There's also the "rule of 55" which allows you to start withdrawing penalty free if you retire during the year you turn 55. I hope the government doesn't get rid of this rule as I personally plan on retiring at 55.
You have to withdraw from the 401k associated with the company you are leaving though.