It doesn’t say how they washed their robes white.
Then it can't be presumed to be purgatory.
Then again, there's this.
Revelation 7:14I said to him, "Sir, you know." And he said to me, "These are the ones coming out of the great tribulation. They have washed their robes and made them white in the blood of the Lamb."