That depends on both the phone and the carrier - both have to support the ability to use the internet when you're on a phone call. If your carrier doesn't, it doesn't matter which phone you use. (And this isn't a Xiaomi forum, so in the future, it would be better if you specified "Xiaomi MI A1".)