Salvation is an eternal gift. It'll end when eternity ends. That being said, a Christian will have to give an account of things done in the body, whether it be good or bad at the judgment seat of Christ.
Any Christian, since he still has to carry around this 'old man' is subject and able to commit any sin a lost man can commit, including sodomy, by searing his conscience. The soul is still saved, and will give an account at the judgment seat of Christ and may suffer loss, which means rewards to throw at Christ's feet.
Go and see what this meaneth! If you have trusted on the blood of Jesus Christ to save you, you're safe. Joshua is probably a saved individual who seared his conscience day after day and is now in a spot he never saw himself in.