Yes he had feeling for you at that moment of time, or because he wanted something. That doesn't mean that his depression is cured or his crisis is over. I am sorry that you keep getting on and off the coaster. He feeds you a few crumbs of love and then he crashes into the abyss. But that is the nature of what this is all about. I believe that his childhood issues are with his family and he must overcome all of that to finish up and become a man. He may do that while he is still married to you and he MAY NOT. He MAY carry through with the divorce, for whatever his reasons are at that point in time.
You realize now that is there is nothing that you can DO that is going to change any of this. You must keep living your life and act "as if" he is not coming back.
I wish I could see something else and be more positive but I do not.