i applied for a job recently, it was a federal job and it took months to apply for. after i gave my week notice to my current employer of years, they pulled the job offer.
thank goodness for that!
i had to go back to my current company and ask for my job back. they had already posted my position, so it caused some issues, but they were glad to keep me.