Retirement tax questions

As an additional piece of information to my above post, I file married filing jointly. My wife works in Mass and I work in RI. So wages, salaries, etc is a combo of both our incomes. Does that matter in filing the RI 1040NR or filing out response to the 2 questions in turbo tax, 5% income and total tax for the RI credit? Trying to include as much information as possible.

Thanks,

Donna