Yes, to the extent that the US had more peace and prosperity than, say, European states, most intelligent people with even modest knowledge attribute that not to random chance but to three major factors:
(1) The Pacific Ocean, (2) The Atlantic Ocean, (3) The extremely small number of remotely near-peer powers that have ever existed not separated from the US by (1) or (2).