We cannot pray for a person that has died,without the truth,for it would do no good,for they cannot change.
The truth is we have to get it right while on earth.
However a person dies,whether sins forgiven,or not sins forgiven,they will stay like that for eternity,so prayers do not help the dead if they did not have sins forgiven.
The fallen angels can never be saved because when they sinned there is nothing to put off to get rid of that sin,but they tainted their being.
Mankind has a chance to be saved for they are in the flesh,and all sin resides in the flesh,and people can put off the flesh and be saved.
If a person dies with their sins forgiven,their soul is saved.If a person dies in their sins,their soul is lost.
Since sin resides in the flesh,if a person dies in their sins,they do not have the flesh to put off anymore to get rid of their sins,but they are tainted in their being like the fallen angels,who have nothing to put off to be saved.
Prayers for the dead would not be effective,for it will not make a difference in the afterlife,for those who die in their sins.