H1B extension + working remote

I have been in company X for last 8+ yrs and now my wife received a job offer from another state Y and my employer is ok to work from state Y for same position and job duties and my H1B extension is due in next 6 months , Please suggest how do i have to handle my H1b extension.