Very unlikely. Unless you were directly involved in whatever the house was being used for. For example, if it was a drug house and you were part of the drug dealing operation then you may be implicated. But the cops wouldn't come after some random visitor, nor would they have any grounds to arrest them.
I highly doubt it, my main dealer I went to daily and chilled at for hours on end sometimes got raided one night and none of my friends were ever put in connection with them nor was I, they just went down, end of story.