Mako it does sound like she is in denial if she's asking why she's there. I'm sorry honey, but prepare yourself. More than likely if she has that kind of mindset, as soon as she gets out she is going to go right back to the same 'drug-seeking' behavior. Do not be surprised if it happens....I'm so sorry to say this.
My H went through numerous rehabs (inpatient...outpatient), homelessness, jail, court-ordered rehab, court-mandated NA, medication.....the WHOLE THING before he FINALLY....FINALLY said "Enough is Enough!" I was at my wits end with him, his family would have nothing to do with him, he was never able to hold a job....he was a damn mess!
But once he decided that he was done...he was DONE! He went full steam ahead, went through terrible withdrawals, kicked and never looked back. In the 10 or so years that he's been clean he has NEVER relapsed. But that's not to say that he never will. He realizes that he will always be an addict and has to stay away from 'those people, places, and things' that trigger his addiction.
The programs that Donette mentioned above are wonderful at helping you understand just what the addict is going thru and how you can cope with loving an addict. They offer positive moral support and can help you learn to stay strong esp if your W decides to pick up again after rehab. Really check into the programs cuz it's hell trying to go thru this alone....trust me.
Take care of yourself...you and your W are in my prayers.