My reply:
Here is the fuller passage:
“Your dead will come back to life; your corpses will rise up. Wake up and shout joyfully, you who live in the ground! For you will grow like plants drenched with the morning dew, and the earth will bring forth its dead spirits. Go, my people! Enter your inner rooms! Close your doors behind you! Hide for a little while, until his angry judgment is over. For look, the LORD is coming out of the place where he lives, to punish the sin of those who live on the earth. The earth will display the blood shed on it; it will no longer cover up its slain.” (Isa 26:19–21)
Many people leave out verse 19, which is key to the context. This passage is consistent with the prewrath view and is problematic for posttribulationism. The passage clearly situates the resurrection of the saints before the end-time wrath.
And heaven is where the “inner rooms” are located and the place where the Lord comes out to punish the wicked during the eschatological wrath.
Here are two related articles: