Will this also apply to divorce?
No, just to remarrying afterwards.
Divorce is clearly commanded against in 1 Cor 7:10. Divorce is sin, unless for adultery as Christ said. However, the scripture never places the same condemnation upon approving divorce as it does with homosexuality. After condemning homosexuality in Romans 1, verse 32 speaks of the righteous judgement of God against those "approve of those who practice them."