Assuming it isn't a violent crime such as armed robbery, assault, or murder; would you be offered bail.
For those unsure as to exactly what bail is: Bail is money that you pay to the court that allows you to be released until your court date, if you break no other crimes and follow the conditions of the bail, you will receive the money back.
In real life the bail price is determined by an individuals wealth, would that be in the game as well?