If there is a problem because you didn't resign formally, you will be blocked for a visa and can't re-enter. So you might as well accept the job and hope for the best.