How much time your husband came to the planet for, he stayed for that much time and then left. That is all right. Now you move on.
Did you come to this planet together? No. You came alone and met him somewhere along the way. So now you can walk alone again.
Be at peace with yourself, and keep your attention on the Divine.
This is what Lord Krishna says in the Bhagavad Gita also, ‘I am your father, I am your mother. It is me who is your grandfather and whosoever that came to your life'.
Whoever has come to you in whatever form, know that to be the Divine.