I have seen this question asked before but not on here.
From the little I know,I would say 'no' but then again I am not an expert on this subject.
Once the physical body 'dies' I should imagine the soul would be free to leave.
But sometimes,if the soul is not aware of physical death,it may hover near to the physical shell.
I suppose what we would call a 'haunting'.
That's about as much as I know,sorry.
Deepsea