In D&D 3.5, the ranger favored enemy bonus is no longer a precision-based bonus, so it will work against creatures that normally cannot be affected by a critical hit (undead, constructs, plant creatures, elementals, etc..)
This means that picking undead as your favored enemy is definitely the...