There's definitely ways you could do it well that don't make a mess - telling your coworkers ahead, or at least the ones who would have to take your workload. Or subtly making sure to knowledge-share before you leave.
I'm saying this from experience of people doing things as mundane as just moving to another team within the company with little to no notice. Yea, it "fucked management", but I also had to spend 3 months dealing with the mess they left behind, and inherited half-working code that they clearly had neglected because they knew they were about to leave.
Labor solidarity isn't just "I screwed capital so it's all a positive". You have to... I dunno, support your fellow laborers. I certainly don't think it's some moral failing to have abandoned a job with no notice, but implying that this is just "fucking management" is missing how much it can really pile stress and bad conditions onto the fellow employees you leave behind.
Maybe it's never bitten you, but I know if any of the folks I've worked with who have disappeared with no notice from my team asked me to work with them, I'd be having a hard time trusting them. Maybe they don't care, and they think I'm some corporate stooge or whatever, but when you're totally fine throwing me into the machinery of capitalism to advantage yourself, what would stop you from doing that again?