Your coins are not stored in the wallet; they're just an entry in the public blockchain. The wallet stores your secret private key that belongs to that address. Because you control this private key, you can spend these bitcoin.