It certainly will.
It can prevent employees from jumping ship just like that.
But conversely it will hamper your recruitment.
Say if there is a 60 day notice period; candidates coming in abroad may not be interested unless you’re the only company in the world.