Yes, under current Pakistani tax law (ITO 2001), whether the FBR will tax your foreign income depends primarily on your residency status for tax purposes.
Based on the facts provided, you fall under the non-resident category for Pakistan tax purposes. Generally, expatriates living and working abroad (such as in Dubai) are treated as non-residents if:
Their stay in Pakistan is less than 183 days during the tax year; and
They are tax resident in another country (e.g., the UAE).
Accordingly, as a non-resident, your foreign-source income is not taxable in Pakistan, and only Pakistan-source income, if any, would be subject to Pakistani tax.