"How to Tell a Layoff is Coming" another tip from personal experience, a manager and key people always know. Be in the inner circle. Also I was once laid off on my Hawaii vacation, talk about perfect timing.
i knew someone who was QA his boss approved his PTO to go to the dentist. however that day turned out to be the layoff day so HR threated him to come to the office. was hilarious. god i hate HR. anyways if you ever go on PTO turn your phone off completely.