Unless you don't plan on ever moving the depreciation doesn't matter. But lots of people are choosing to foreclose not because they can't afford it but rather they can't flip it. It's a loss. Sometimes you have to cut them.
I think it comes down to not being able to afford it probably close to 100% of the time they walk away. Why would someone ruin their credit for many years, make it very hard for themselves to borrow again in the future, have lawyers harassing them for years on in, have wages garnished, have many future employment and business opportunities closed due to poor credit and the appearance of poor character, and have this all on public record ruining their name and reputation? Just because they'd have to hold an investment for a while longer than they planned to? Bullshit - they can no longer afford to pay, so they walk away.
And even if they'd had it owned under a corporation, it's very easy to find out owners, officers, and agents of corporations online. Being an owner or agent of a corp that filed bankruptcy or welched on debt or otherwise misbehaved can make it difficult or impossible to hold various professional licenses and serve in certain occupations.