They definitely save Ace at the very least. Whitebeard's a little iffy.
Whitebeard saves everyone by using his Fruit to make a giant wave to push them all to safety, Whitebeard watches the sun sparkle as the ship Luffy's on flies into the sun as its carried atop the way.
"Gurararararara... how high will you reach together? The stars themselves? I'm so glad... that I got to see my sons... escape safely... forgive me, for leaving you behind. Go... find an even greater dream, Ace! I wanted to be your father, not King of the Pirates! My era is over! This is your era, now!"
Hundreds of Marines, including the Admirals appear behind him, ready to attack in midair. With a laugh that shakes the earth, Whitebeard whips around, slicing forward, and knocking them all back.
Just as the ship falls over the wave, Ace's Vivre card of Whitebeard flies into the air, and burns to a crisp.