Robin is right, you need a smartapp for that. Smart lighting should do the trick. This app does not do logic like "Do this action if multiple things are true."
To get around this limitation create a routine that changes the mode of the house to evening, or a mode of your choosing or creation, at sunset each day. Then use Smartlighting to trigger the light to come on when either presence sensor arrives only when house is in evening mode.