Work location change

I am on H1B. My work location and my legal residence is in Wisconsin. However, since this pandemic started I have been working from home in California where my family lives. Recently my employer gave me permission to WFH from California permanently, but asked to keep my legal residence in Wisconsin for H1B purposes. I have signed a lease and continue to pay the rent in Wisconsin while living and working in California. Any suggestions on this? Will this be risky?