They're almost the same thing. Bad ESN applies to CDMA networks like Verizon and Sprint who use ESNs to identify their phones.
Bad IMEI applies to GSM networks like AT&T and T-Mobile who use IMEIs to identify their devices.
Being blocked for non-payment means unusable no matter what carrier unless the original owner pays his/her debts.