Even though it was the company, and not me personally, who was being sued that time was the most stressful time of my life - the sheer injustice of it all left a deep scar on me. However, we had a good law firm and money in the bank - our lawyers more or less told them there was no case to answer and both sides backed down (although we did have to pay our own legal costs).
It was bad enough being involved in litigation with supportive colleagues, money and good lawyers - being in a similar, actually worse, situation as a broke student would be infinitely worse.
[Edit: as to the timing of the litigation, I believe the first rule of litigation is "sue people who have money"].