One - To end up at one of our fine correctional facilities (San Quentin, or Soledad, made famous by Bobby Seal in the book Soul On Ice, or the legendary Folsom Prison of Johnny Cash fame) you have to have a sentence of at least one year and one day. Any less they will keep you in country lockup, and some of those like Santa Rita for the East Bay, and the one in LA - that's really bad. But with overcrowding being what it is you might wind up on a country work farm if your crime is not all that huge.
Two - non-options include probation, house arrest with one of them snazzy ankle bracelet deals, work release, halfway houses and community service.
As for quotes, I just cut and paste and put them in italics, as I think that looks more elegant than that blue block.