we need to know the time interval during which the force acts. impulse of force = momentum change
force required to detach it is given by
charges are taken to be fundamental charge
now we have
so above is the minimum distance at which it will detach