How do we know Paul believed in survival after death?

In Phil 1 he wants to be dissolved to be with Christ, in 2Cor 5 he wants to leave the body to be present to God. And he was a Pharisee - they believed in survival.