Yes, death of a loved one can cause PTSD (post traumatic stress disorder). You are especially at risk for PTSD with a sudden, unexpected death of a loved one (Carandang, 2014).
Reference:
“Chapter 6 – Post Traumatic Stress Disorder.” Anxiety Protocol. Carandang C. 2014. Healthy Mind Research Corporation.