In order to play a game together, both you and your friend need a PlayStation Plus subscription, but neither of you need a subscription to play the game separately. In addition, while you can share your games with any number of other people on different PS4 consoles, only two people can play a game at one time.