to make sure you are not too near sb / sth; to avoid getting too friendly or involved with a person, group, etc.
Oxford57% of films
to make sure you are not too near sb / sth
Spider-Man, keep your distance.
He ll charge you but keep your distance and use your speed
Oxford43% of films
to avoid getting too friendly or involved with a person, group, etc.
You did everything you could to keep your distance.
Just keep your distance.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition