I'm a US citizen working for a top technology company in the Valley in California. Long story short, I've been working in a completely chaotic and toxic environment and am about ready to state my intent to resign at a future date. I don't want to waste any more time here than I already have, so I want to be out on the exact day that I receive my bonus. I'm thinking of informing my boss a month of advance, to give him and myself adequate time to transition out. The concern here is that I don't want to be "let go" earlier than my intended departure date. I'm thinking that it's not likely to happen, but I want to prepare myself for the worse, and re-adjust my strategy for how and when to transition out.
So the question is:
Is it legal, or common to be "let go" earlier than your intended departure date? Especially in situations where there is obvious tension between the two parties (employee and boss/management)? I understand that in most states in the US, employment is "at-will", so you can practically be let go for any reason, or not reason at all. But I'm wondering if someone has experienced something like this before, especially those who don't exactly have the best relationship with management.