Google has a very strict policy of not being allowed to work whatsoever when you are out on unpaid leave, for obvious reasons.
When I was there as a software engineer, I worked from home one day a week.
But at least at a few years ago, you couldn't work from home full-time forever. I knew folks in the Atlanta office, and after it closed they could work from home for a long while (many weeks), but needed to eventually find a position at another office or leave the company.
Ironically, the Atlanta office is now expanding again. Turns out that closing it was a big mistake re: making diversity goals. I could've told them that ...