Does plugging iPhone into speakers shorten its life span?
Plugging a set of speakers into an iPhone does not significantly shorten its life span. Not at all.

If you're worried about the connector being damaged (for example a jack connector), you could use a permanently connected extension cable. Then you can connect and disconnect the speakers as you like without wear and tear on the iPhone's connector.