There are currently 5 states that offer legal online poker for real money in the United States  New Jersey, Nevada, Pennsylvania, Michigan, and Delaware.
Basically, not all states allow online poker to be played within their borders. However, due to US federal law (The Wire Act) that prohibits moving funds for gambling of any type over state lines, all the players in a poker game must be within the state.