Another possible reason is to claim the moral high ground. Some people feel that they can prove their innocence by dying.

We have a saying about 'whipping the dead,' which means that punishing a dead person is about the worst thing you can do.