New research suggests that the way you sleep—not just how long—could play a critical role in your heart health over time.