Is there some rule I wasn't aware of that you must own a home in order to give out candy on Halloween?
At 18, you presumably live SOMEWHERE. Nothing stopping you from giving out candy at that residence.
Note: this is not an endorsement that you shouldn't be allowed to trick or treat at 18. Simply pointing out that your specific argument is bullshit.