One set of standards, and no rule that the ADU sit behind the house
Wherever the County allows a home, a new detached ADU follows one table: 20 ft from the front lot line, 12.5 ft from a corner lot's side street and 4 ft from the side and rear lot lines, with no rule that it sit behind the house. Closer than 5 ft to a lot line, fire and building reviewers may ask for fire-rated walls. Special Planning Areas, Neighborhood Preservation Areas and Planned Developments set their own front and corner setbacks.
Sacramento County Zoning Code 5.4.5.B, Table 5.11 and footnotes 9 and 12