Sex out of wedlock is a sin. One goes to hell if one remains obstinately in sin until the end.
However, if one repents from sin and asks God's forgiveness, God forgives.
If your friend and her boyfriend are as close as you say, perhaps they should consider marriage.
Sincerely,
De Maria