Not necessarily. Both transactions require a 9-digit number, but you will have to verify with the financial institution where you are sending the funds, if the ABA number for ACH or wires are the same, or which routing number should be used for a wire transfer and for the ACH.
AnABA Routing Numberidentifies a financial institution. It can be found in the bottom left section of the check. AnACH Routing Numberidentifies the clearing house.