A former Google exec has used a simple framework every time she’s decided to switch jobs for the last 20 years