Yup. In Configuration_adv.h at line 148 uncomment #define Z_DUAL_STEPPER_DRIVERS. This is assuming you're using RAMPS. If you read the comment, the pins are only defined for RAMPS boards, so you can make it work with other ones, you'll just have to slog through some code.