Man gets life sentence for murdering wife