If you can obtain NOC No objection Certificate from previous employer, next day you can comeback. Cant get NOC, by old law two years, but speculation is there is law change recently that says six months. Better ask a lawyer.