No, a drain doesn't always need to be in the center of the shower floor. As long as the floor is sloped towards the drain so water can flow down it properly, any placement is okay.