In the Golden Age, there was a standardised system of criminal justice which operated with incredible fairness throughout the Empire.
Now things are different.
Each District is responsible for maintaining its own law and order. As such systems of crime and punishment vary depending on the District a crime is committed in.
It should be said, however, that although the implementation of justice is different from District to District, each claims to be upholding the same Imperial Justice.
As a rule of thumb, a crime occurs when someone important enough takes issue with a questionable act you have undertaken.
The more important the person, or the greater the issue taken, the worse things are likely to become for you.
Custodial sentences as we would understand them do not exist in Rastaban.