Retirement tax questions

What if two people inherit an IRA and only one is a New York resident.  Can the NY resident deduct the full 20K?