If you share the same account it will be fine. One PS4 will need to be the primary system, but so long as you both use the same account there won't be any issues. If you use separate accounts but use the one account to share games and in particular share PS plus then it may still be possible.

This guide will explain in detail how the primary PS4 system works. The short version is that the primary PS4 allows all users on that PS4 to get the perks. You can log into any secondary PS4 and still have the perks of the user account you are logged in with, but they don't get shared with other users.