Start with your lease. Chances are you are not allowed to rent the whole space. If you are, then search on this board for a lot of discussions about NYCity and the new laws that have been passed there over the past year.
Chances are? No. You will not be allowed to rent your space if you are not onsite, and have about a 50% chance of being allowed to rent it if you are onsite with the guests.