A man who punched a woman during a drunken argument has avoided an immediate jail sentence.