I hope the 90 days helps, but cannot say it will.
The 18 months psychotherapy might, if she participates, tells the truth, and takes it seriously.
The community service, not so much. I know someone here that simply adopted a cat from a shelter for community service, that really didn't help any issues.
I hope she somehow figures out that she needs this help. That time is over her head and the leniency can't last forever. Well, this is not California, so maybe leniency can last there, IDK.
If she stays clean for the 90 days, that is a lot more than anyone expects. I feel a tinge of fear every time I see this thread at the top. Wishing her the best, and hopefully a long term recovery.