Should a sentencing judge consider whether a female offender has custody of her minor children at time of sentencing? Does motherhood ever work against a female offender?

Should a sentencing judge consider whether a female offender has custody of her minor children at time of sentencing? Does motherhood ever work against a female offender? Be specific.