California Penal Code

Sec. § 1203.076


Any person convicted of violating Section 11352 of the Health and Safety Code relating to the sale of cocaine, cocaine hydrochloride, or heroin, or Section 11379.5 of the Health and Safety Code, who is eligible for probation and who is granted probation shall, as a condition thereof, be confined in the county jail for at least 180 days. The imposition of the minimum 180-day sentence shall be imposed in every case where probation has been granted, except that the court may, in an unusual case where the interests of justice would best be served, absolve a person from spending the 180-day sentence in the county jail if the court specifies on the record and enters into the minutes, the circumstances indicating that the interests of justice would best be served by that disposition.
Source

Last accessed
Jun. 6, 2016