I'd say not necessarily, a poster above posted pertinent verses in 1 Corinthians but the mouseover doesn't catch the most pertinent verse imo which is 1 Corinthians 5:5, it's what comes to mind as I read OP's question.
Destruction of the flesh
so that the soul is saved in Christ.
So yes, if you have faith in Jesus, you SHALL not come under condemnation, that is future tense. John 5:24
So once you are a believer in Christ, you're saved, but as Paul writes in his epistles especially Romans 7, your spirit is new, your flesh is not, and it's a war between the spirit and the flesh, it requires effort to deny the flesh on a daily basis to walk in spirit, not even daily, just moment to moment you just have to keep consciously denying the flesh, if you don't, you walk in the flesh, you fulfill the lusts of the flesh, and you sin. What Paul talks about in 1 Corinthians 5 is a brother, that is a believer, someone who is saved, is doing such foul sin that the only way to stop it is for their flesh to be destroyed, for them to die prematurely, so that their spirit goes to the Lord.
So yes, if a Christian is walking in the flesh and sinning, God is going to chastize them and scourge them (Hebrews 12:5-6), it's a part of sanctification, and He may decide, that the most suitable way to sanctify you, if you're not responding to corrective actions, is to remove you from your body, so that your flesh is no longer an obstacle since you weren't capable of denying it.
The most pertinent part of that verse of 1 Corinthians 5, is the last part
So, can you be saved after you die? As far as I know you die once, then comes judgement. So that person had to have been saved before they died. Otherwise, if they were not saved, there'd be nothing about their spirit being saved in the day of the Lord Jesus. It'd just be delivering them up to Satan to be destroyed, OR, it would be saying they weren't saved, and appealing to them to GET saved. But at least as far as the inspired scripture that Paul was writing was concerned, this brother WAS saved, was walking in the flesh, sinning, and so they'd have Satan kill his body to save his spirit.