Life After Death According To The Bible

Is it okay according to God to remarry, after death.?

Just say someone is 30 years old, married with kids, and their wife/husband dies from whatever illness/accident. The person then falls in love with someone else. They want to get married to them. The bible states that it is a grave sin to remarry after divorce, but what about death. Or is that person to stay celibate for the rest of their life.

Please note that this is not me, this is merely a hypothetical situation.

Bible has the answer.
When the spouse is seperated by death, re-marriage is allowed.
Rom 7:2,3
“For example, by law a married woman is bound to her husband as long as he is alive, but if her husband dies, she is released from the law of marriage. So then, if she marries another man while her husband is still alive, she is called an adulteress. But if her husband dies, she is released from that law and is not an adulteress, even though she marries another man.”
Read 1 Tim 5:14 also