Residential Facilities with a capacity OVER 6 are not allowed in low and medium-low density Residential areas (so most standard residential neighborhoods).
“…facilities for six or fewer residents shall be treated as a residential use and subject only to the same requirements as any other permitted residential use of the same housing type that are in the same district”.
This means that if their capacity is 6 or less, they’re considered a residential use.
https://www.cdss.ca.gov/inforesources/adult-care-licensing