Retirement tax questions

Would the cash value be the determining factor?