To be sure, you should:
1. Consult your owner's manual: This is the best source for the exact location.
2. Look for a black box with numerous connectors: The ECM is a fairly large, rectangular black box.
3. Check wiring harnesses: Follow the major wiring harnesses leading from the engine compartment; they'll often lead you directly to the ECM.
If you can't find it after checking these locations, a picture of your engine bay might help someone more familiar with the specific model identify it.