Well, if God chooses to He can, but i would say it's not the norm. Anxiety creates a fear of death and a sense that you are dying. I have a good friend who has had this feeling countless times just in the past year alone, that i've known her. Always for different reasons. She had a virus and mostly precautionary she spent 2 days in the hospital. She asked every doctor and nurse if she was going to die. She kept telling me she was afraid she was going to die from it. She didn't. Then a week or two later her sister, who she rarely talks to, died. Then my friend was afraid that whatever killed her sister would kill her too. Then a few weeks later a cousin of hers that i didn't even know existed died and she freaked out once again. If she coughs too much she thinks she's going to die. Everything is, in her mind, going to kill her. Yet none of these things ever has. And she always wonders if God is showing her something, but He isn't.
Some people just worry about that more than others and try to find a reasonable explanation, such as a warning from God, but really it's just anxiety. So i wouldn't worry.
God is not a God of anxiety, so He's not going to commonly go around warning people days or weeks or months in advance of their death, only to cause them fear and anxiety.