If a person can't make bail in Sacramento, they must remain in jail until their case eventually goes to trial. The so-called “pretrial detention” period — the time between when a person is arrested and their case reaches a courtroom for a trial — can take anywhere from several weeks to several years.