Yep. This is how it works in any corporation that has higly sensitive secrets -- regulatory, risk, trade, or otherwise -- that they are highly keen on keeping safe. As soon as you signal your intent to quit, if you were privy to any of those, you are a risk, and the priority is getting you off-boarded and your access revoked ASAP. That's just how it goes