BLUF: I know the recommendation is to always talk to recruiters but is that true even if the position they are contacting you about is in a location you don't want to move to?

ADDITIONAL INFO: I had a recruiter contact me with a position in an area of the country that my family and I don't want to move to.  I told her thanks but we weren't interested due to location.  I then mentioned the areas we would be interested in and told her to please contact me with any positions she may be filling in that area.  This conversation was entirely by email (how she contacted me).

Was this approach correct (i.e. not wasting my time talking about a position I would not take) or should you ALWAYS entertain the discussion despite knowing you would not take the position due to geographic (or any other) reasons?