It could also be sampling bias playing a part.
It could also be sampling bias playing a part.
I don't know if any reports have been done on the subject that would be relevant here (specific to federal defendants, as they generally are looking at more time and are more likely to be experiencing jail for the first time than state defendants). However, anectdotally, I know a fair number of criminal defense attorneys, and they all say that it's actually quite rare. It seems that most defense attorneys have never had a criminal client commit suicide.
For me personally two is still waaay to low for it to be considered anything but a fluke.
Anecdotaly, a friend of mine committed suicide and I later found out he was going to jail for robbery.
Two events can be very significant if the prior probability of the event is very low.