Question
It's a consumer purely "digital" product. I have a friend who is a developer working in LA . I don't know how to set up the "thing" . And also concerned about the legal aspect.
Answer
Without more information on your intention and the target market's use for the application, itself, the simple answer is "yes." Many digital products available for US consumers are developed/launched outside of the States.