Is it okay to work in different lab during Summer? I was wondering if it is okay to work in different lab during summer.

I am first year master's student and currently I am working in the lab as volunteer at my college. During summer (May through August), because of housing/financial reasons, I have to go back home which is in different state. Despite wasting my summer without doing anything, I want to work in the lab in the different college that is working on similar project and the lab that is located near my home. Can I do that? I guess I care about if it would be rude or not. I will definitely tell my current P.I. and potential summer P.I. about it but I wanted to make sure it's okay before I proceed.
Ask your advisor.

Whether it is okay or not will depend entirely on him. He may have some reason why he wouldn't want you to (rational or not). It shouldn't come across as rude if you ask him openly and express your reasoning (have to go back home but would still like to be research productive and may be a good opportunity to network with the other lab). 

Whether the other lab will let you, is a different question entirely. Another option is working remotely with your current lab.