Every organization is different but at ours we are GRATEFUL when you keep your germs at home. If you're sick...stay home. Please.
In-office requirements are for collaboration, productivity, networking, culture. Requiring sick or injured people to come in is not aligned to the spirit of the in-office time.
This said.....there are people who abuse it, for sure, and stay home for something like a hangnail. Don't be that person and you should be fine.