Each 401(k) plan has different rules about when employees are eligible to withdraw or rollover their account assets to another account.
Most 401(k) plans only allow you to take money out of your account, either as a withdrawal, distribution, or rollover, if you are at least 59.5 years old or if you are no longer employed by your company.
Check the Summary Plan Description under My Documents to see what your 401(k) plan allows.