Actually Dexter was very lazy to keep Carolina in the hospital. But how else. Because Carolina is indeed his wife. So like it or not he had to wait for his wife who was there. Even though he didn't like Carolina, he still couldn't just ignore her.
Because Carolina is currently pregnant with her child. So Dexter, he had to understand Carolina's plight. He also couldn't immediately ignore Carolina all of a sudden. And he really should have looked after Carolina. Because she is his wife.
And it couldn't be helped, if that Carolina still didn't care about anything. He would definitely stay by his side, even though he had been ignored by Dexter many times. But in fact Carolina still persisted to try to accompany him.
Dexter knew that he was not a good man for his wife. But how else, his love that only piles up for Stella, he can never just give to Carolina. He only felt sorry for her, and nothing more than that for Carolina.