Sounds like Swiss law on both immigration and unemployment gave him a pretty strong incentive to stay for as long as possible.
That's understandable, but I guess if you're staying for that reason the title of the article might better have been "What it feels like to finally get fired from Google after a couple of years of barely hanging on to my job."