The issue of the status of the spirit or ruh at the time of death is part of the Unseen world, and this part of the Unseen can’t be known save through authentic reports from the Prophet (peace and blessings be upon him) as well as the Ever-Glorious Qur’an. According to the authentic statements mentioned in this regard, the ruh is part of the Unseen and whatever easiness or difficulty in its emission from the body has nothing to do with one’s religious status. This means that one’s religious status and commitment is not a justifiable reason for the easiness or the ruh or its difficulty.
As for the Angle of death, it is said that he comes to the dying person and he sees him in person. As for other issues, we do stress that it is part of the Unseen, and we as Muslims should not puzzle our thinking with things beyond what is so beneficial for us.
Having said this, we do recommend you to read the book of ‘At-Tadhkirah fi Ahwal Al-Mawta Wa`umur Al-Akhirah.