Isn’t that a good thing? Doesn’t that imply the existence of a functioning criminal justice system that does not apply special treatment to someone just because they hold high office?
With that level of corruption I'm not sure I'd be so trusting their is a "functioning justice system" just because it's locking important people away - it could be a sign of the exact opposite.
It doesn't encourage the peaceful transition of power, either. If I'm the sitting president, and I know that the next one will lock me up, why should I hand over power to him peacefully?