hello there and welcome!
im sorry to hear your marriage may end, have you both given up and in agreement to split up?
even if you split up while your in a spouse visa you will still be married unless you divorce.
i think its best you both divorce before the visa is over and you can go home, unless your hubby agrees to getting ilr and spliting up after, that way you can stay here, thats if you want too?
what do you both want, have you both talked about it?