Well first your earbuds would have to have a microphone. If they do, on to step two, your computer would need a 3.5mm dual jack which means it is both input and output. If it isn't, and is output only, then it wouldn't work.
In this case you would need to either get yourself a USB adapter that they can be plugged into and then connected to the laptop (something like this... https
/www.amazon.com/LZYCO-External-connector-Headphone-Microphone/dp/B018YV3ALM/ref=sr_1_9?ie=UTF8&qid=1486193340&sr=8-9&keywords=3.5mm+to+usb+adapter), or get a new headphone/mic combo that comes with a USB connection.