I'm a looking for the title of a movie. The description follows:
It was probably made between 1993 and 2006.
The protagonist is a fairly young blond woman who is accused of killing or abandoning her child, I don't remember, maybe her child died in a house fire, due to her negligence.
She's sent either to prison or to a mental asylum where other inmates are crude to her.
She falls in love with a bald psychiatrist or doctor in there. Once this person brings her to his home and tells her that she reminds him to his dead wife who had similar shoulder-lenght blond hair.
At one point she is examined with a machine, that projects her dreams to monitors and they show some traumatic experience of hers.
Near the end she rides in a car with the psychiatrist or doctor and they have an accident, they almost die, the woman saves the guy. It ends with her hugging him and watching the flames engulfing the car wreck(s).