Let’s look at evidence:
Are you serious? It’s illegal to just exist outdoors in the US? I think you’re serious but that’s just too comical to be real. Enjoying the sunset; straight to jail. Like what?
Not generally, as others have mentioned, this is probably owned by the CVS and they want to discourage people from hanging around their store if they have no business with the store.
To the extent it is illegal, then it’s in the domain of “trespassing” where the private property owner can decide you are no longer welcome. So if CVS “owns” that area, it may call on you for trespassing.