It's not meant to be taken too literally. You're bound to bump into each other. No contact in this instance means being polite when you see each other and not being drawn into relationship or personal discussion. And of course the usual, not texting, emailing, ringing or DM-ing them.