No. you don't need to file form DP-10. Your Interest and dividend are not taxable in NH if you were a non-resident. Only the interest and dividend income earned during that portion of the year for which you were a New Hampshire resident is taxable.
NH INTEREST AND DIVIDENDS TAX RETURN
Interest and Dividend should be reported on the state return which you were resident of when you received it.