New Hampshire does not have a personal income tax for compensation so if you are not a New Hampshire resident, you do not have to file a New Hampshire tax return.
The DP-10 A 5% tax is assessed on interest and dividend income. The State of New Hampshire does not have an income tax on an individual's reported W-2 wages.