"Do not be bound together with unbelievers; for what partnership have righteousness and lawlessness, or what fellowship has light with darkness?" (NASB 95).
Paul cannot be referring to the marriage relationship in this passage because his conclusion would contradict a previous conclusion in another passage. So what I believe Paul is referring to, is for us to separate ourselves from immorality, false teaching and pagan practices. Makes sense when considering the context.