Copyright applies (or doesn't) from the moment of creation, as per international treaty in all Berne Convention signatory countries. Distribution is irrelevant. Otherwise the law wouldn't serve the original intent of preventing authors from being ripped off by publishers.
"Public domain" is a synonym for "copyright does not apply or no longer applies." There's nothing special about it beyond that.
Something that is public domain can also infringe upon a protected work and you can be liable for that. And something infringing, used internally by a business, could also come out in a legal discovery process.