IMO the only advantage of working from home is that you can control all those free variables that make you distracted: E.g. Get a quiet study where you tell your wife, cat(s) etc that you cannot/will not be distracted during work hours. Doing that at work can be tried but depending on the work place, may not be kosher.
I personally prefer working in the library. I have been most productive doing that back in school and sorely miss it.