Colossians 2:
It is not just a metaphor. See Spiritual Unity in the Body of Christ. Paul was not physically in Colossae, but his indwelling spirit informed him of what had happened there.
Paul repeated a similar expression in 1 Corinthians 5:
Is this a spiritual metaphor or spiritual reality?5 For though I [Paul] am absent from you in body, I am present with you in spirit and delight to see how disciplined you are and how firm your faith in Christ is.
It is not just a metaphor. See Spiritual Unity in the Body of Christ. Paul was not physically in Colossae, but his indwelling spirit informed him of what had happened there.
Paul repeated a similar expression in 1 Corinthians 5:
Paul's spirit is connected to the Paraclete and associated with the power of the Lord.3 For though absent in body, I am present in spirit; and as if present, I have already pronounced judgment on the one who did such a thing. 4 When you are assembled in the name of the Lord Jesus and my spirit is present, with the power of our Lord Jesus,
1 Corinthians 6:5 you are to deliver this man to Satan for the destruction of the flesh, so that his spirit may be saved in the day of the Lord.
Through the central hub of the Paraclete, there is an objective spiritual connection among all the believers born of the Spirit.17 But whoever is united with the Lord is one with him in spirit.