It depends on the Shopify App you're using and their policy, so you’ll need to check the shipping policy of the supplier Apps connected to your shopify store. For example; if you use Printful, They have the same product in many warehouses in different countries and locations, so they’d automatically calculate shipping for you from the warehouse closest to your customer. You can also calculate shipping yourself and include it to the product cost!