For Jesus spoke about these both places

I say to you that many will come from the east and the west, and will take their places at the feast with Abraham, Isaac and Jacob in the kingdom of heaven. But the subjects of the kingdom will be thrown outside, into the darkness, where there will be weeping and gnashing of teeth."
(Matt 8:11)

"Then they will go away to eternal punishment, but the righteous to eternal life."
(Matt 25:46)