Yes you can. Your number will port and you will receive a bill from your previous provider for any remaining dues. It is advisable check your contractual obligations prior to porting your number out.