No, blue whales do not sleep on the ocean floor. Although they can dive to great depths, they typically rest while swimming slowly near the surface.
They may sleep for several minutes at a time, multiple times throughout the day, while remaining buoyant and able to breathe.