I'm sorry for your loss. I pray that God gives you the strength you need everyday to live life and heal the wounds. I have sleeping disorders too. I try to switch off the lights and lie down even if I am not sleepy in the night. Music helps to doze off. Or a podcast where people keep talking enough till you just doze off. Trust me. It works. I at least sleep for sometime after I listen to something.
The idea of going to church is to commune with God. But finding someone who shares your faith could be the other reason. We go to Church to be among a group of believers and worship God. So, we have that in common already. If you tried, maybe you'll find someone you can talk to and make friends with. Or find a new Church where that's possible no matter how far the distance.
You could join a health club and meet people there. A book club. You may think that it's too early for that. But you have to try. You'll never know till you try. Don't rush things. Let things happen as they happen. It'll take some time for you to settle into your new place.
I know that this is a hard time for you. Losing someone you love is never easy. Especially if they leave us before due time. It's God's will. It's happened in my life as well when I lost my father. He died when I was 21 years and still in college. Hard times. Time froze and I didn't know what to do. I've passed through that and that's behind me now. My one wish is that I wish I didn't take it that hard at the time. That time in my life did leave a dent because I let go of God in my anger.
I encourage you to hold on to God during this time in your life. Whatever happens, don't let go of your faith in Our Lord Jesus. He will help you get through this. God loves you. Jesus loves you. He will do what is best for you. God won't abandon you. That's my encouragement to you. Stay blessed. I wish you peace and good health with God's blessings.