Advice welcome but also need to vent/talk/write, I have no one irl

This morning my husband packed some clothes, bedding, work stuff and left to stay with a friend. No argument or conversation leading up to it and I’m utterly lost. He has been depressed and our relationship hasn’t been the best but the one thing I really thought we both believed in was marriage/family

when he said he was staying somewhere else for a while I asked him what that meant and he didn’t know. I was crying and telling him I didn’t want him to leave and he just stared at me blankly like I’m an idiot. He says he doesn’t know if it’s permanent. He said maybe he will find somewhere closer to work (he drives 1hr to work once a month but works from home otherwise). He said all of this but also that he isn’t leaving me. Im not really sure what he meant. I couldn’t really talk to him because it felt like we were having 2 separate conversations. I left him to finish packing. He said ‘see you during the week’ and walked out

Not sure what the hell I’m supposed to do or say or if I should do or say anything at all