For a defendant, sitting in jail while waiting for the resolution of a criminal case can have devastating financial and emotional effects. You can lose your job. You can lose custody of your children. You can lose your home or be evicted from your apartment. And a long period of pretrial incarceration could tempt you into accepting a bad plea bargain.