I think it depends on the contract of your previous company if you have completed the required years on the contact it should be fine or if it is an open-end contract a minimum of 5 years is needed for you to be able to move jobs.