Yes, as after it leaves the atmosphere and achieves that 98% of orbital speed, its trajectory wouldn't change much even if it exploded - its engines are turned off after ascent that takes ~9 minutes, then it free-falls for an hour to the other side of the Earth. They target a spot in the Indian Ocean near the west coast of Australia (it's coming from the west). In case of explosion debris would fall to the ocean sooner, farther to the west from Australia. More dangerous part of the flight is ascent (when it gains that speed), as its ground path is near some Caribbean islands, and it can cause problems like on flight 7:
> Around three minutes later, Ship 33 exploded over the Turks and Caicos Islands, causing debris to litter the Caribbean islands, Puerto Rico and the British Virgin Islands. While no injuries were reported, the debris caused minimal damage to infrastructure in Puerto Rico and the British Virgin Islands, and prompted airspace closures in the region for over an hour. The FAA ordered SpaceX to perform a mishap investigation into the breakup, grounding Starship until the inquiry was complete.
Technically, the trajectory of the last couple of flights is a transatmospheric orbit, meaning that if the Earth didn't have atmosphere, it would be an actual orbit.
I think it depends on which specific step fails. The farther into flight it happens, the narrower the area over which the debris is spread. But, I think being over the entire ocean is unlikely, since the trajectory intersects with the planet, and that intersection point would also have to be in the ocean.
Correction: the trajectory only intersects with the planet prior to engine relight testing. After that it's at ~50km [1] (though to be fair, if they make it safely through the relight, all testing so far shows they're likely to make it through most of reentry)
There’s a very short period of time where if it exploded debris would fall on the African continent which is an unavoidable risk of orbital flight out of the US. Other than that it’ll either fall in the Atlantic or Indian Ocean.