Depends if they convert in time, just like atheists.
Ian McCormack got saved in his last breath by praying the our Father and asking forgiveness and he forgave those who sinned against him.
I tried it. I thought if I kill myself I go to hell and I can't stand it here anymore either, so what I do is take all those pills, then pray the sinner's prayer so He has to forgive me and let me into heaven, but it will be too late and I will die because I took the pills, like jumping and then say it when you jump.
So I did and mixed it with alcohol. I was under influence of prozac btw, otherwise I wouldn't have done it, but don't think you can use that as an excuse. It's still grave sin. So I took the pills and the alcohol I bought and sat at the waterside, but then I became so sleepy, I thought I can't take the other 2 packs, I have to pray now. I prayed the sinner's prayer. Then God said I had to call for help and could not take the rest or I would be a hypocrit and the prayer meant nothing and I'd not go to heaven. Somehow I had a phone with me which I then almost never had with me, called my ex, didn't take the rest and a guy from church with his kid searched me. Kids thought he was looking for a dog LOL. I had fallen asleep and the ambulance came.
A guy from the office killed himself, an atheist who laughed about me getting married in a church. I had to pray for someone from the office for hours the night before, didn't know who. Next day I heard it. Assumed he didn't make it and blocked him out of my memory. 2 years later I got a dream in which he said he had been saved 2 years ago.