1:23 Having a desire to depart. His feelings would lead him to choose to depart from the flesh. See Php 1:24.
And to be with Christ. Note that with Paul to depart from the flesh, the body, is followed by going immediately to Christ.
1:23 To depart - Out of bonds, flesh, the world. And to be with Christ - In a nearer and fuller union. It is better to depart; it is far better to be with Christ.
1:21-26 Death is a great loss to a carnal, worldly man, for he loses all his earthly comforts and all his hopes; but to a true believer it is gain, for it is the end of all his weakness and misery. It delivers him from all the evils of life, and brings him to possess the chief good. The apostle's difficulty was not between living in this world and living in heaven; between these two there is no comparison; but between serving Christ in this world and enjoying him in another. Not between two evil things, but between two good things; living to Christ and being with him. See the power of faith and of Divine grace; it can make us willing to die. In this world we are compassed with sin; but when with Christ, we shall escape sin and temptation, sorrow and death, for ever. But those who have most reason to desire to depart, should be willing to remain in the world as long as God has any work for them to do. And the more unexpected mercies are before they come, the more of God will be seen in them.