Depending on who you talk to, this was either a ploy to do a non-layoff layoff, or since all the good people had already left the people still at Yahoo were just cashing paychecks. It didn't matter if they were in the office or not.
Pointing to the burning, foreclosed house is not a very accurate way to draw conclusions about the whole neighborhood.