Being behind bars for months awaiting trial can unravel a life: the accused can be fired from a job, be subject to eviction, incur debt from being unable to pay bills, lose custody of children. Many defendants are so desperate to be free that they bargain for a short sentence or immediate release by pleading guilty to whatever lesser charge the prosecutor presents. That can saddle them with a criminal conviction that has lifelong consequences, limiting where they can live, what jobs they can perform, their ability to vote, and their eligibility for college student loans.