A couple preliminary points:
First, as gung notes, model performance is not the same as goodness of fit. The latter is one aspect of the former - all else being equal, a model that fits the data better is probably a better-performing model - but not the whole picture.
Second, when people say $\chi^2/DF \approx 1$ is an indicator of good model fit, what does $\chi^2$ mean and where did it come from? The answer is that, to assess goodness of fit, we often look at the residual sum of squares (RSS):
$$RSS = \sum_{i=1}^n r_i^2 = \sum_{i=1}^n (\hat{y}_i - y_i)^2$$
where $y_i$ is the actual and $\hat{y}_i$ is the model predicted value. Under certain conditions, the RSS is exactly or approximately $\chi^2$ distributed. This property of the RSS allows us to assess the quality of the model fit against a theoretical expectation.
Linear Model with Gaussian Errors
To see how we can use the RSS and $\chi^2$ to assess goodness of fit, let's now ask: if we were to happen upon a good model, how big would we expect the RSS to be? For example, suppose we have $n = 1,000,000$ data points that fit the standard linear model perfectly:
$$y_i = ax_i + b + e_i$$
with $e_i$ i.i.d. standard normal. Suppose we're very lucky to have an "oracle", a magic algorithm which always finds the exact true values of $a$ and $b$ regardless of the noise in the data. Then the residuals of our oracular "fit" would be precisely
$$r_i = y_i - ax_i - b = e_i$$
and the RSS would be precisely $\sum_i e_i^2$. Since $\chi^2$ is by definition the sum of squared i.i.d. standard normal random variables, our RSS is $\chi^2$-distributed with $k = n = 1,000,000$ degrees of freedom.* Because $k$ is so large in our example, $\chi^2$ is also very close to normally distributed with mean $k$ and variance $2k$. This means the RSS is approximately normal with mean $k=1,000,000$ and standard deviation $(2k)^{1/2} \approx 1414$, and RSS/k is also approximately normal with mean 1 and standard deviation $(2k)^{1/2}/k \approx 0.0014$. With RSS/k having such a small standard deviation, for it to deviate even 0.01 from its expected value of 1 would be more than seven standard deviations away from the expected value, and therefore extremely unlikely. Thus, the realized value of RSS/k is almost certainly within the interval 0.99-1.01.
This example suggests that, if we have lots of data and are able to fit a perfect model, RSS/k should be very close to 1. In the real world, models rarely fit perfectly, and a model that fails this test is not necessarily bad. But it can be a useful diagnostic - if it's not close to 1, it may be worth plotting the residuals or doing other forms of digging in.
*In this thought experiment, we have an oracle which gives us the true value of $a$ and $b$ regardless of the noise in the data. In practice, one must make an adjustment for the fact that the estimated $a$ and $b$ are not exactly right and are influenced by the noise in the data, which makes the RSS lower than it would be if we had the oracle. That's why when we do a real fit, we have to subtract off the number of parameters to obtain the degrees of freedom, and we get $k = n-2$ rather than $k = n$ for a two-parameter linear fit like this example.
Logistic and other models
The theoretical results used in the argument above are available in more general situations. Actually, any time you (1) fit a model to i.i.d. data with maximum likelihood, (2) have a lot of data, and (3) you know the structure of the true model, the residual sum of squares will have an approximate $\chi^2$ distribution. This follows from more general results for likelihood ratio tests.