I’m not sure about the new “smartthings (Samsung connect)” app, because it handles presence differently, but as far is “SmartThings things classic”, you can definitely do this, but it’s more work on your part. It doesn’t “just work.” You have to have something which recognizes that your phone has connected to your Wi-Fi and then turns on a virtual presence sensor.
Some routers like one of the Google on hub models can do this automatically, but otherwise you have to do some coding.
See the presence FAQ: there’s discussion of a couple of WiFi methods there.