Why would someone expect their employer to keep them around after they file a lawsuit against them?
Well, actually, I would expect that to happen if the lawsuit was justified. Let's say there is building work at my company and my car gets damaged, and I think it's the fault of my company. Sorting that out should have no effect on my career. It's different if you file a lawsuit and it turns out it is all based on lies.