If it is virtual hearing, lawyer can join from anywhere. Doesnt need to be in the same room with you.
Not a good idea though to have your lawyer in another place because you can’t consult easily. Unless required due to Covid never heard of a lawyer not being with their client at the hearing. Somewhat defeats the purpose of having a lawyer.