Ask a Business Lawyer. Get Business Law Questions Answered ASAP.
Illinois, Georgia and Minnesota are the states that are actually selling State sponsored lottery tickets online right now. In the USA it is illegal to operate a private lottery which is generally defined as a contest in which contestants pay to enter and the prize is awarded at random. The exception is for a nonprofit organization's who occasionally do fundraising raffles.
It appears that you have to be physically present in these States only. But I would need to do more in-depth research to find a definitive answer.