An action for separate maintenance may be maintained without request for divorce, upon any grounds which would be grounds for divorce, and in such cases the court shall have power to award temporary alimony, suit money, and permanent support for a spouse and the children of the parties, or any of them, by the other spouse.
SDCL 25-4-40