Some programs allow single parents to bring their dependent children, especially in cases of recovery from our counseling for domestic abuse.
If this isn’t a feature of the treatment provider you’re looking at, then perhaps partial hospitalization or outpatient services would be a better option for you.
If you’re set on residential treatment, look to your support network to find someone who can take care of your children for an extended period.