> Even though the H-1B visa is a non-immigrant visa, it is one of the few temporary visa categories recognized as dual intent, meaning an H-1B holder can have legal immigration intent (apply for and obtain the green card) while still a holder of the H-1B visa. Effectively, the requirement to maintain a foreign address for this non-immigrant classification was removed in the Immigration Act of 1990.[22]
Citations from https://en.wikipedia.org/wiki/H-1B_visa