Let $M$ be a smooth manifold $\mathcal{C}^{\infty}$ and $ H \hookrightarrow M$ an embedded closed submanifold of codimension $1$.
I should demonstrate that $M-H$ has at most two connected components. It's pretty intuitive ,but I do not really know from where to start.
Assume that $H$ is a connected closed manifold.
(1) Consider a function $h : M\rightarrow \mathbb{R},\ h(x)= d(x,H)$ where $d$ is a distance function. Since $H$ is closed, so there is at least one point $x_0\in H$ s.t. $d(x,x_0)=d(x,H)$.
(2) Fix a point $y\in H,\ y_\pm \in M-H$ s.t. $y$ is a mid point in a segment $[y_+y_-]$ and $d(y_+,y_-)\leq 2\varepsilon$.
If any point in $M-H$ can be joined to one of points $y_\pm$ by a curve not intersecting $H$, then $M-H$ has at most two components.
If not, there is $x\in M-H$. By (1) we have $x_0\in H$. Since $H$ is connected, there is a path $\alpha$ in $H$ from $y$ to $x_0$. Hence there are $\alpha_\pm$ s.t. (a) $\varepsilon$-tubular neighborhood of $ \alpha$ contains $\alpha_\pm$, (b) $\alpha_\pm$ is curves from $y_\pm$ to a point near $x_0$ and (c) $ \alpha_\pm$ does not intersect $H$.
Hence $ \alpha_\pm$ are in different sides wrt $H$ around $x_0$. If $\alpha_+$ are in same side with $[xx_0]$, then we connected them so that $x$ can be joined to $y_+$.