Kaley Cuoco thought she was ‘gonna die’ after her second divorce