What is the Maximum Stay?
The maximum stay depends on the court system. Typically you will be held until your trial, also called "pretrial detention." While you have the right to a "speedy" trial, the definition of this is up to the court and can vary. This means you might be kept in jail for anything from a few weeks to several years. Generally, simple cases involving minor infractions move faster through the court system. You may also be able to get a shorter stay if you are offered a plea deal, and in some felony cases, you may be released by the grand jury.
Some judges will prioritize you if you are waiting in jail, but not always. There is no legal maximum for pretrial detention. However, the average stay in the U.S. is about three weeks, which is more than enough time to affect your work, life, and mental health.