The same thing happened at my company: Less competent people were let go and given a generous package, while the rest of us slaved away with a heavier work load. It was hard to watch my former coworkers enjoying the summer off while I was busy all the time at w*rk!
I thought about goofing off to see if I could be laid off, but decided 1) it's really not worth it to my dignity, 2) If I goof off, someone else would have to pick up my slack, 3) never burn any bridges, and 4) I would have to be nearly completely unproductive for my company to do something. So instead, I landed a new job and quit my old j*b last week. It's true that when you resign, you get nothing. But my pride was intact, which in retrospect, was important to me.