Spot the Signs. According to Alison Green, who writes the blog Ask a Manager, this is common practice for some industries, especially if you're leaving to work for a direct competitor. However, in those situations, you'll likely know it's coming and can prepare accordingly.
Or meet up with said colleagues at an industry event, because the world is awkwardly small. So it's in your best interest to make sure that your resignation letter is clear, concise, and polite. Here are some best practices you can follow to make your big exit a professional one.