There should be no difference in ECM's for 4wd vs 2wd.
But you do need to make sure it's compatable. If you cant find the same number check with a Jeep parts dept, they can give you a list of what number supercedes what and which will be compatable.
Thats exactly what i recently did for a ZJ and found a reman'd unit on ebay.