At one of my first jobs, I resigned after about a year because I found a job that offered 2x as much in terms of salary. Director: "How much is the new place offering? We can match." I told him the number. Immediately his tone changed, and said I should take the other offer. I wanted to give a 2 week notice, which I thought was the norm, but he asked me to leave immediately and use up my remaining days as vacation da…
When you turn in your resignation, your notice is just an offer of a grace period. They are not obligated to take you up on your offer.