In the United States, this varies by state. The relevant law in CA is completely different than the law in NJ, for example.