One of my major career regrets was leaving a job about 6 months before they offered voluntary layoffs with generous severance. I was already grumpy with the job. If only I held my nose and stuck around those six months, I would have been first in line for the package!