Jail is more commonly-suited to those less-commonly able to finance a defense (or to potentially pander the prosecution). The choices for council is either a retained lawyer or, by default, a public defender. In the later of these two, the common title in jail was 'public pretender'.
H. Kirk Rainer, A Father and Future Felon
court, law, prosecuting-attorneys, public-defense