Honestly I'd have to say the worst thing a parent can do is think spending time with a child when the child asks for it is a bad habit. They grow up so quickly and the more they can trust we are there when they need us the more emotionally intelligent they grow up to be. We wouldn't turn our back on our best friend who was having a rough time so why does society think being there when a toddler needs us is a bad habit. In part because the Toddler can't explain that Mummy going out while they were asleep and Daddy being the only one home made them a bit frightened (or some other little story like that).
Basically in a stressful situation we get X amount of cortisol pumping through their system, its exactly the same amount in a 60kg adult as a 10kg toddler, so it makes sense that a small stress will give a much bigger reaction.
I found with my two that over the years they did need a parent there to help quite simply because the world can be a big place to switch off from. I made my peace with that and now they are teens I find a silver lining in them being sick, because they do like to cuddle up. So my advice is rather than see it as a bad habit, see it as a great joy you'll miss.