If the prosecution is able to establish that you were present after closing (in other words, when you no longer had permission to be in the store) with the intent of committing some other type of crime, they may be able to convict you of burglary. You do not have to enter illegally, it is enough that you remained beyond the hours when the store was open to the public.