If any person is convicted of a crime involving domestic abuse, and that person is the parent, guardian, or custodian of a minor child who resides with that person or the victim of the crime, the court shall include as part of the sentence, or conditions required as part of the suspended execution or imposition of such sentence, that the person receive instruction on parenting approved or provided by the Department of Social Services. However, this section does not apply to any person convicted and imprisoned for any felony for such a duration that there is no expectation of release for at least four years.
SDCL 25-10-5.3