How did the location of the war help the Americans?

It's always an advantage to fight on home territory where the personnel know the terrain and the people.