The first thing you should do is check with your previous employer--likely the human resources department--to hear about the plan policy directly from them.
That said, the contributions you have made to the 401k plan and any employer contributions that are vested are your property.
Generally, there are several options available to employees when they leave an employer: