If you moved during 2018, you must file part year resident returns in both states.
nm does not require a tax return for me, only calif. i have already filed federal return
The following FAQ explains how to file a part-year state return. https://ttlc.intuit.com/replies/3302008