I am so sorry you are having sleeping problems, but that is what happens when we lose someone we love, things are never the same again.
I decided from the very first I would never take sleeping tablets or any other type of tablets to try and get me through the grieving process. My husband died four years ago and I still cannot sleep the night through, my mind whirrs around all the time, I sometimes cat nap in the afternoon and then stay up until about 11 pm, go to bed, get up at 2 am, have a cup of hot milk and go back to bed, and that is how it has been for four years. I don't feel ill or tired the next day so I must be getting the sleep I need albeit interrupted sleep.
I don't want tablets to fog up my mind as I don't want to forget a moment of our 50 years together and if that means I have poor sleep patterns then so be it. I take each day as it comes, if I feel a bit tired, I go for a lay down and then I am okay, I just let nature take it's course.