It is primarily used by wives to address their husbands, though it can also be used by husbands towards their wives, although it's less common.
It's important to note that "yobo" is a very intimate term and should not be used with anyone other than your spouse.