They can use the same drain, but they don’t always, so this will depend on your configuration. Shower drains are typically only 2 inches, while toilets have 3 inch drains, so you will need to do some plumbing work to combine them.