Correction........As long as you company gives you a exit permit you can leave without a resignation.