In the end, it doesn't really matter all that much whether you call it cohabitation or not, but it does matter whether you lived with your husband when you were in his country. If you went to see him for a couple of hours or didn't see him at all, then stayed in a hotel, that would probably be a serious problem.
In my case, I'm pretty sure that I called my visits "cohabitation." One of them was for almost a month. Others were shorter. In any case, we slept together, went grocery shopping together, cooked, ate, took out the garbage, did laundry, I drove him to work every day, etc. If that is not "cohabitation" I don't know what is.
I tried to find the appeal case where they asked why there was no cohabitation during a short visit, but I didn't find it.