Currently a sync service (used to generate a replica) only allows a single layer per feature class. So you cannot have two layers that point to the same feature class but filter based on definition query. This really needs to change. Having a setup with multiple layers pointing to the same feature class is a pretty standard approach for defining a map. It is possible you can have maps with numerous layers based on the same feature class and currently this would mean an individual serveice and replica for each