Except the North would be with the UK to leave, and the South would (theoretically) stay in the EU and have some sort of border.
But even then, there's a lot of overlap. it's not a clean break anywhere