Sorry, my bad. I misread your first post.
Yes, definitely you can do it, but here's where you need to make a choice.
There is a very sophisticated community created rules engine, core, that can do all of this and much more. It allows for stacked conditionals like "if a and B but not C while D". The only thing is it is really complicated to set up and you may need community assistance to figure out individual rules. But if it's something that you're interested in, you can absolutely do the most with SmartThings by using core.
A simpler approach is to use an alternative presence detection method for this particular situation. If you have either an iOS or an android phone, I would recommend just using IFTTT. It has its own presence channel. And of course smartthings has a channel.
So you just set up two IFTTT recipes. One detects when you have left, and uses the SmartThings channel to turn on the light.
The other detects when your wife has left, and does the same thing.
( you will each need your own free IFTTT account, but they can both link to the same SmartThings channel)
It's simple to set up and should work fine for this use case.
Alternatively, you could get started with core. It will solve not only this use case, but give you the tools to do many more complex rules. I will post the links for it in a minute.