It is not illegal to place bets if you're traveling, and your permanent residence is in a state like California where sports betting is illegal. As long as you are physically located in a state where sports betting is legal, you can place bets.
States With Legal Online Gambling
Connecticut.
Delaware.
Michigan.
Nevada.
New Jersey.
Pennsylvania.
West Virginia.