In the days of Sodom and Gomorrah there were no baptized people at all, whether infant or adult.
After Jesus' death, having completed the work His Father gave Him to do, i.e. the Work of Redemption, he went into the place where all unbaptised people were; that is every person born since Adam and Eve who was not damned, including of course all those lost in the greatest of all chastisements, the flood.
This is what the New Testament has to say:
1 Peter 3 [18] Because Christ also died once for our sins, the just for the unjust: that he might offer us to God, being put to death indeed in the flesh, but enlivened in the spirit, [19] In which also coming he preached to those spirits that were in prison: [20] Which had been some time incredulous, when they waited for the patience of God in the days of Noe, when the ark was a building: wherein a few, that is, eight souls, were saved by water.
note on [19] Spirits that were in prison: See here a proof of a third place, or middle state of souls: for these spirits in prison, to whom Christ went to preach, after his death, were not in heaven; nor yet in the hell of the damned: because heaven is no prison: and Christ did not go to preach to the damned.
and
Ephesians 4:9
Now that he ascended, what is it, but because he also descended first into the lower parts of the earth?
and
Acts Of Apostles 2:24
Whom God hath raised up, having loosed the sorrows of hell, as it was impossible that he should be holden by it.
It is no different for a person who died unbaptised simply because he died through a direct judgement of God, I guess you mean to say a chastisement, but was innocent of any wrongdoing. Maybe it will go better for that person if he never has the chance to rebel against God's law.