Then when he says, For though absent in body, he supplies for their failure by pronouncing sentence against the sinner. In regard to this he does three things: first, he shows the authority of the judge; secondly, the method of judging; thirdly, the sentence of the judge (v. 5).
As to the first he does two things: first, he shows the authority of the minister, i.e., himself. Here he seems to act contrary to proper judicial procedure by condemning an absent person, for "it was not the custom of the Romans to give up anyone, before the accused met the accusers face to face" (Ac 25:16). But the ...Apostle justifies this, saying: For though absent in body I am present in spirit, i.e., with love and concern: "For though I am absent in body, yet I am with you in spirit, rejoicing to see your good order and the firmness of your faith in Christ" (Col 2:5). Or present in spirit, because by the spirit he knew what was taking place among them as if he were there, as Elisha also says: "Did I not go with you in spirit when the man turned from his chariot to meet you?" (2 Kgs 5:26). Because I am present in spirit, I have already pronounced judgment, i.e., I have passed a sentence of condemnation on the one who has acted in this manner. Secondly, he mentions the authority of the principal lord, saying: in the name of the Lord Jesus Christ, i.e., in His place and by His authority, or with the power and invocation of His name: "Whatever you do in word or in deed, do all in the name of our Lord Jesus Christ" (Col 3:17).
Source: Commentary on 1 Corinthians