I found this via Google "04 KIA Sorento ECM Location"
"It's located at the passenger side behind the air conditioner plastic duct (inner firewall)"
Dave
On my 06 it is located under the front passenger carpet next to the firewall. You have to pull back the carpet then there is a plate mounted with I think 3 screws. It is under the plate.