If you resign and your transfer isn't approved, your status will be that of somebody who is supposed to return to his country of origin.