And if they handled the resignation like a professional, it is not uncommon to simply get the job back.
I've left one of the big FANGs for an opportunity that I thought was better, but did not pan out, when I emailed my old (skip) boss about how to re-interview for my old team, he simply asked "when do you want to start?" (Even get new sign on RSUs)