It's usually mounted to the firewall, near the fuse box and the battery. To find it, look for a black box with several connectors and a label that says "ECM" or "PCM" (Powertrain Control Module).
Note: It's important to note that the specific location of the ECM might vary slightly depending on the model year and trim level. If you are unsure, consult your owner's manual or a reputable automotive repair source.