By definition, the gravitational force is given by:

Where,
m1 and m2: are the masses of the objects
G: is the gravitational constant
r is the distance between the objects' centers
The vertical asymptote of the function occurs when the denominator is equal to zero.
We have then:

In this context, it means that physically, the distance between the center of the objects can not be equal to zero (which is logical).