I think my friend's friend died and partially was because of me.
Why do you blame yourself for your friend's death?
I've been hanging out with that person but then one day they died.
Healthy grieving results in an ability to remember the importance of our loss, but blaming yourself is not constructive at all. Instead of thinking of the bad times, remember the good times you had with your friend.
I just want to forget the whole thing and go live my life. She recently moved away so it's hard to tell if her death was actually my fault.
It's good that you are trying to move on! Although you will still go through the stages of grieving, hopefully you can now move on and not blame yourself!