What is the maximum possible separation between sun and moon in the earth sky for an eclipse to occur?
We'll need the angular diameter of the Sun: 31.6-32.7 arcminutes; the Moon's is between 29.3 and 34.1 arcminutes (found on Wikipedia).

The solar eclipse case is 0 degrees; it can only be an eclipse if the Moon is touching the Sun. In that case, their centers are at most (32.7 + 34.1) / 2 = 33.4 arcminutes apart.

A lunar eclipse would occur if the Sun and Moon are diametrically opposite in the sky; the separation of their centers is then 180 degrees. The actual separation is at least (31.6 + 29.3) / 2 = 30.45 arcminutes less than 180 degrees.